import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useCollapseStore = defineStore('collapse', () => {
    const collapse = ref(false)
    const changeCollapse = () => {
        collapse.value = !collapse.value
    }
    return { collapse, changeCollapse }
})
